package com.koron.ticket.workchange.ticketchangemember.mapper;


import com.koron.ticket.workchange.ticketchangemember.bean.TicketChangeMember;
import com.koron.ticket.workchange.ticketchangemember.bean.TicketChangeMemberQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (TicketChangeMember)表数据库访问层
 *
 * @author 朱超
 * @since 2021-10-27 10:19:49
 */
public interface TicketChangeMemberMapper {

    void insert(TicketChangeMember ticketChangeMember);
    
    void deleteById(@Param("id") String id);
    
    void update(TicketChangeMember ticketChangeMember);
    
    TicketChangeMember getSingle(TicketChangeMemberQuery ticketChangeMemberQuery);

    List<TicketChangeMember> getList(TicketChangeMemberQuery ticketChangeMemberQuery);

    void deleteByWorkTicketId(@Param("workTicketId") String workTicketId);

    TicketChangeMember getByTicket(@Param("workTicketId") String workTicketId);

}
